package com.hongdee.scm.initStock.entity;

import com.hongdee.annotation.ExcelData;
import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Administrator on 2017/9/22.
 */
@Entity
@Table(name = "T_Scm_Car_ex")
public class TScmCarEx extends BaseEntity {

    @ExcelData("vin")
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'vin'")
    private String vin;

    @ExcelData("发动机号")
    @Column(name = "engine_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发动机号'")
    private String engineNum;

    /**
     * 车型年
     */
    @ExcelData("车型年")
    @Column(name = "car_model_year", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型年'")
    private String carModelYear;
    /**
     * 外观编号
     */
    @ExcelData("外观编号")
    @Column(name = "appearance_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '外观编号'")
    private String appearanceCode;
    /**
     * 外观名称
     */
    @ExcelData("外观名称")
    @Column(name = "appearance_name", length = 128, columnDefinition = "VARCHAR(128) COMMENT '外观名称'")
    private String appearanceName;

    /**
     * 内饰编号
     */
    @ExcelData("内饰编号")
    @Column(name = "trim_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '内饰编号'")
    private String trimCode;
    /**
     * 内饰名称
     */
    @ExcelData("内饰名称")
    @Column(name = "trim_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '内饰名称'")
    private String trimName;
    /**
     * 选装包
     */
    @ExcelData("选装包")
    @Column(name = "choose_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '选装包'")
    private String chooseCode;
    /**
     * 选装包名称
     */
    @ExcelData("选装包名称")
    @Column(name = "choose_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '选装包名称'")
    private String chooseName;
    /**
     * 品牌
     */
    @ExcelData("品牌")
    @Column(name = "brand", length = 32, columnDefinition = "VARCHAR(32) COMMENT '品牌'")
    private String brand;
    /**
     * 车系
     */
    @ExcelData("车系")
    @Column(name = "car_series", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车系'")
    private String carSeries;
    /**
     * 车系代码
     */
    @ExcelData("车系代码")
    @Column(name = "car_series_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车系代码'")
    private String carSeriesCode;

    /**
     * 车系ID
     */
    @Column(name = "car_series_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车系ID'")
    private String carSeriesId;
    /**
     * 车型
     */
    @ExcelData("车型")
    @Column(name = "car_model", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型'")
    private String carModel;
    /**
     * 车型代码
     */
    @ExcelData("车型代码")
    @Column(name = "car_model_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型代码'")
    private String carModelCode;

    /**
     * 车型ID
     */
    @Column(name = "car_model_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型ID'")
    private String carModelId;
    /**
     * 配置
     */
    @ExcelData("配置")
    @Column(name = "configure", length = 32, columnDefinition = "VARCHAR(32) COMMENT '配置'")
    private String configure;
    /**
     * 配置id
     */
    @Column(name = "configure_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '配置id'")
    private String configureId;
    /**
     * 配置代码
     */
    @ExcelData("配置代码")
    @Column(name = "configure_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '配置代码'")
    private String configureCode;
    /**
     * 合格证号
     */
    @ExcelData("合格证号")
    @Column(name = "certificate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '合格证号'")
    private String certificateNum;
    /********************************************采购信息***************************************************/
    /**
     * 采购价格*/
    @ExcelData("采购价格")
    @Column(name = "purchase_price", length = 32, columnDefinition = "VARCHAR(32) COMMENT '采购价格'")
    private String purchasePrice;
    /**
     * 采购日期
     */
    @ExcelData("采购日期")
    @Column(name = "purchase_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '采购日期'")
    private String purchaseDate;
    /**
     * 采购单号
     */
    @ExcelData("采购单号")
    @Column(name = "purchase_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '采购单号'")
    private String purchaseNum;
    /**
     * 配货日期
     */
    @ExcelData("配货日期")
    @Column(name = "distribution_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '配货日期'")
    private String distributionDate;
    /**
     * 配货状态
     */
    @ExcelData("配货状态")
    @Column(name = "distribution_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '配货状态'")
    private String distributionStatus;

    /**
     * 发货日期
     */
    @ExcelData("发货日期")
    @Column(name = "send_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发货日期'")
    private String sendDate;
    /**
     * 原始提单号
     */
    @ExcelData("原始提单号")
    @Column(name = "old_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '原始提单号'")
    private String oldNum;
    /**
     * 车辆状态（导入默认为0采购在途1在库2已售3调拨在途）
     */
    @Column(name = "status", length = 1, columnDefinition = "VARCHAR(1) COMMENT '状态'")
    private String status;
    /**
     * 暂估价格
     */
    @ExcelData("暂估价格")
    @Column(name = "estimate_price", length = 32, columnDefinition = "VARCHAR(255) COMMENT '暂估价格'")
    private String estimatePrice;

    /**
     * 公司ID
     */
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    /**
     * 销售价格
     */
    @ExcelData("销售价格")
    @Column(name = "sale_price", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售价格'")
    private String salePrice;

    /**
     * 销售日期
     */
    @Column(name = "sale_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售日期'")
    private String saleDate;

    /**
     * 财务状态（1验车单2暂估入库3正式入库）
     */
    @Column(name = "finance_type", length = 1, columnDefinition = "VARCHAR(1) COMMENT '财务状态'")
    private String financeType;
    /**
     * 销售状态（是否可销售）
     */
    @Column(name = "sale_type", length = 1, columnDefinition = "VARCHAR(1) COMMENT '销售状态（是否可销售）'")
    private String saleType;

    //车辆更改是否可销售原因
    @Column(name = "sale_type_reason", length = 255, columnDefinition = "VARCHAR(255) COMMENT '车辆状态说明'")
    private String saleTypeReason;

    /**
     * 发票号
     */
    @Column(name = "invoice_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发票号'")
    private String invoiceNum;
    /**
     * 发票金额
     */
    @Column(name = "invoice_price", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发票金额'")
    private String invoicePrice;

    /**
     * 财务归属（1本店、0非本店）
     */
    @Column(name = "financial_belong", length = 32, columnDefinition = "VARCHAR(32) COMMENT '财务归属'")
    private String financialBelong;
    /**
     * 首次入库日期
     */
    @Column(name = "enter_warehouse_date_start", length = 32, columnDefinition = "VARCHAR(32) COMMENT '首次入库日期'")
    private String enterWarehouseDateStart;

    //采购单位
    @Column(name = "provide_company_name", length =255, columnDefinition = "VARCHAR(255) COMMENT '采购单位'")
    private String provideCompanyName;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getEngineNum() {
        return engineNum;
    }

    public void setEngineNum(String engineNum) {
        this.engineNum = engineNum;
    }

    public String getCarModelYear() {
        return carModelYear;
    }

    public void setCarModelYear(String carModelYear) {
        this.carModelYear = carModelYear;
    }

    public String getAppearanceCode() {
        return appearanceCode;
    }

    public void setAppearanceCode(String appearanceCode) {
        this.appearanceCode = appearanceCode;
    }

    public String getAppearanceName() {
        return appearanceName;
    }

    public void setAppearanceName(String appearanceName) {
        this.appearanceName = appearanceName;
    }

    public String getTrimCode() {
        return trimCode;
    }

    public void setTrimCode(String trimCode) {
        this.trimCode = trimCode;
    }

    public String getTrimName() {
        return trimName;
    }

    public void setTrimName(String trimName) {
        this.trimName = trimName;
    }

    public String getChooseCode() {
        return chooseCode;
    }

    public void setChooseCode(String chooseCode) {
        this.chooseCode = chooseCode;
    }

    public String getChooseName() {
        return chooseName;
    }

    public void setChooseName(String chooseName) {
        this.chooseName = chooseName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getCarSeries() {
        return carSeries;
    }

    public void setCarSeries(String carSeries) {
        this.carSeries = carSeries;
    }

    public String getCarSeriesCode() {
        return carSeriesCode;
    }

    public void setCarSeriesCode(String carSeriesCode) {
        this.carSeriesCode = carSeriesCode;
    }

    public String getCarSeriesId() {
        return carSeriesId;
    }

    public void setCarSeriesId(String carSeriesId) {
        this.carSeriesId = carSeriesId;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCarModelCode() {
        return carModelCode;
    }

    public void setCarModelCode(String carModelCode) {
        this.carModelCode = carModelCode;
    }

    public String getCarModelId() {
        return carModelId;
    }

    public void setCarModelId(String carModelId) {
        this.carModelId = carModelId;
    }

    public String getConfigure() {
        return configure;
    }

    public void setConfigure(String configure) {
        this.configure = configure;
    }

    public String getConfigureId() {
        return configureId;
    }

    public void setConfigureId(String configureId) {
        this.configureId = configureId;
    }

    public String getConfigureCode() {
        return configureCode;
    }

    public void setConfigureCode(String configureCode) {
        this.configureCode = configureCode;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(String purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public String getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(String purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public String getPurchaseNum() {
        return purchaseNum;
    }

    public void setPurchaseNum(String purchaseNum) {
        this.purchaseNum = purchaseNum;
    }

    public String getDistributionDate() {
        return distributionDate;
    }

    public void setDistributionDate(String distributionDate) {
        this.distributionDate = distributionDate;
    }

    public String getDistributionStatus() {
        return distributionStatus;
    }

    public void setDistributionStatus(String distributionStatus) {
        this.distributionStatus = distributionStatus;
    }

    public String getSendDate() {
        return sendDate;
    }

    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }

    public String getOldNum() {
        return oldNum;
    }

    public void setOldNum(String oldNum) {
        this.oldNum = oldNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEstimatePrice() {
        return estimatePrice;
    }

    public void setEstimatePrice(String estimatePrice) {
        this.estimatePrice = estimatePrice;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(String salePrice) {
        this.salePrice = salePrice;
    }

    public String getSaleDate() {
        return saleDate;
    }

    public void setSaleDate(String saleDate) {
        this.saleDate = saleDate;
    }

    public String getFinanceType() {
        return financeType;
    }

    public void setFinanceType(String financeType) {
        this.financeType = financeType;
    }

    public String getSaleType() {
        return saleType;
    }

    public void setSaleType(String saleType) {
        this.saleType = saleType;
    }

    public String getSaleTypeReason() {
        return saleTypeReason;
    }

    public void setSaleTypeReason(String saleTypeReason) {
        this.saleTypeReason = saleTypeReason;
    }

    public String getInvoiceNum() {
        return invoiceNum;
    }

    public void setInvoiceNum(String invoiceNum) {
        this.invoiceNum = invoiceNum;
    }

    public String getInvoicePrice() {
        return invoicePrice;
    }

    public void setInvoicePrice(String invoicePrice) {
        this.invoicePrice = invoicePrice;
    }

    public String getFinancialBelong() {
        return financialBelong;
    }

    public void setFinancialBelong(String financialBelong) {
        this.financialBelong = financialBelong;
    }

    public String getEnterWarehouseDateStart() {
        return enterWarehouseDateStart;
    }

    public void setEnterWarehouseDateStart(String enterWarehouseDateStart) {
        this.enterWarehouseDateStart = enterWarehouseDateStart;
    }

    public String getProvideCompanyName() {
        return provideCompanyName;
    }

    public void setProvideCompanyName(String provideCompanyName) {
        this.provideCompanyName = provideCompanyName;
    }
}
